<legend><h3>User</h3></legend>

<a href="#myModal" role="button" class="btn" data-toggle="modal"><i class="icon-user"></i>Add User</a>

<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4>Tambah User Baru</h4>
    </div>
    <div class="modal-body">
        <?php
        $f = array('class' => 'form-horizontal');
        echo form_open('user/tambahUser', $f);
        ?>
        <div class="control-group">
            <label class="control-label" for="username">username</label>
            <div class="controls">
                <input type="text" id="username" placeholder="username" name="username">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="inputPassword">Password</label>
            <div class="controls">
                <input type="password" id="inputPassword" placeholder="Password" name="password">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="group">Mikrotik Profile</label>
            <div class="controls">
                <input type="text" id="group" placeholder="Profile" name="profile">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="masaAktif">Masa Aktif</label>
            <div class="controls">
                <input type="text" id="masaAktif" placeholder="Masa Aktif" name="masaAktif">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="telepon">Nomor HP</label>
            <div class="controls">
                <input type="text" id="telepon" placeholder="No HP" name="no" value="+62">
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn" name="daftar" value="daftar">Daftar</button>
            </div>
        </div>
        <?php echo form_close(); ?>
    </div>
</div>
<form class="form-search pull-right" action="<? echo site_url() . "user/cari";?>" method=POST>
    <input type="text" class="input-medium search-query" name="cari">
    <button type="submit" class="btn" value="cari">Search</button>
</form>
<div class="clear">&nbsp;</div>

<div class='alert alert-danger'>Maaf, data User yang Anda cari tidak terdaftar.</div>
<a href="<? echo site_url() . "user";?>"><div class="btn btn-danger">back</div></a>